package com.tokenmaster.aitrade.common.system;

/**
 * @ClassName: Order
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author buxinyun
 * @date 2018年5月12日 上午6:17:09
 * 
 */
public class Order_Future {

	private int orderId = 0;

	private String contract_name = "";
	private String symbol = "";
	private double price = 0;
	private int amount = 0;
	private String type = "";
	private int status = 0;
	private long create_date = 0;

	private double price_avg = 0;
	private int deal_amount = 0;

	/**
	 * 构造函数
	 */
	public Order_Future(String symbol, String type, double price, int amount) {
		this.symbol = symbol;
		this.type = type;
		this.price = price;
		this.amount = amount;
		this.create_date = System.currentTimeMillis();
	}

	/**
	 * 
	 */
	public Order_Future() {
		// TODO Auto-generated constructor stub
	}

	public String getContract_name() {
		return contract_name;
	}

	public void setContract_name(String contract_name) {
		this.contract_name = contract_name;
	}

	public double getPrice_avg() {
		return price_avg;
	}

	public void setPrice_avg(double price_avg) {
		this.price_avg = price_avg;
	}

	public void setCreate_date(long create_date) {
		this.create_date = create_date;
	}

	public long getCreate_date() {
		return create_date;
	}


	public int getOrderId() {
		return orderId;
	}

	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}

	public int getDeal_amount() {
		return deal_amount;
	}

	public void setDeal_amount(int deal_amount) {
		this.deal_amount = deal_amount;
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getSymbol() {
		return symbol;
	}

	public void setSymbol(String symbol) {
		this.symbol = symbol;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

}
